package com.ckmike.product_service.domain;

import java.io.Serializable;

/**
 * Product 简要描述
 * <p> TODO:描述该类职责 </p>
 *
 * @author ckmike
 * @version 1.0
 * @date 18-11-7 下午10:41
 * @copyright ckmike
 **/
public class Product implements Serializable {

    private int id;

    private String name;

    private int store;

    private double price;

    public Product() {
    }

    public Product(int id, String name, int store, double price) {
        this.id = id;
        this.name = name;
        this.store = store;
        this.price = price;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setStore(int store) {
        this.store = store;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getStore() {
        return store;
    }

    public double getPrice() {
        return price;
    }
}
